package com.secxiot.provider.user.dao;

import com.secxiot.provider.user.entity.UserDeptDo;
import com.secxiot.provider.user.entity.UserDeptDoExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDeptDao {
    int countByExample(UserDeptDoExample example);

    int deleteByExample(UserDeptDoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserDeptDo record);

    int insertSelective(UserDeptDo record);

    List<UserDeptDo> selectByExample(UserDeptDoExample example);

    UserDeptDo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserDeptDo record, @Param("example") UserDeptDoExample example);

    int updateByExample(@Param("record") UserDeptDo record, @Param("example") UserDeptDoExample example);

    int updateByPrimaryKeySelective(UserDeptDo record);

    int updateByPrimaryKey(UserDeptDo record);
}